#ifndef _SCENE_H
#define _SCENE_H

#include <list>
#include <vector>

#include "math/Frustum.h"

#include "TGObject.h"

namespace TG
{
	class Scene
	{
	public:
		TGObject* root;

		Scene();
		~Scene();

		void onCreate()
		{
			root = TGObject::instantiate("scene");
		}

		void onDestroy()
		{
		}

		void addObject(TGObject* obj)
		{
			root->addChild(obj);
		}
	};
}
#endif